@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>盈亏报表管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-lg-10 col-sm-9">
                                <div class="row">
                                    <div class="col-lg-10 col-sm-9">
                                        <div class="row">
										    <div class="col-sm-3" style="width: 200px">
												<#SelectCon id="platform" name="平台名称" >
													${deptutil.getPlatformById()}
												 </#SelectCon>
											 </div>
                                            <div class="col-lg-4 col-sm-6">
											    <#TimeCon id="beginDate" name="开始时间"  pattern="YYYY-MM-DD" value="${tool.currentDate(0)}"/>
                                            </div>
                                            <div class="col-lg-4 col-sm-6">
                                                <#TimeCon id="endDate" name="结束时间"  pattern="yyyy-MM-DD" value="${tool.currentDate(0)}" />
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-lg-2 col-sm-3"> 
                                        <div class="row">
                                            <div class="col-lg-12 col-sm-12">
                                                <#button name="搜索" icon="fa-search" clickFun="Revenue.search()"/>
                                                <#button name="重置" icon="fa-trash" clickFun="Revenue.resetSearch()" space="true"/>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="hidden-xs" id="RevenueTableToolbar" role="group">
                            @if(shiro.hasPermission("/revenue/add")){
                                <#button name="添加" icon="fa-plus" clickFun="Revenue.openAddRevenue()"/>
                            @}
                            @if(shiro.hasPermission("/revenue/update")){
                                <#button name="修改" icon="fa-edit" clickFun="Revenue.openRevenueDetail()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/revenue/delete")){
                                <#button name="删除" icon="fa-remove" clickFun="Revenue.delete()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/revenue/addList")){
                            <#button name="批量上传" icon="fa-remove" clickFun="Revenue.openAddRevenueList()" space="true"/>
                            @}
							 <#button name="导出" icon="fa-plus" clickFun="Revenue.exportRevenue()" space="true"/>
                        </div>
                        <#table id="RevenueTable"/> 
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/revenue/revenue/revenue.js"></script>
@}
